package com.superb.system.api.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @Author: ajie
 * @CreateTime: 2024-07-09 08:49
 */
@Data
@Schema(description = "修改是否为默认部门")
public class UpdateScopeMain {

    @NotBlank(message = "数据权限id不能为空")
    @Schema(description = "数据权限id", requiredMode = Schema.RequiredMode.REQUIRED)
    private String id;

    @NotNull(message = "是否默认参数不能为空")
    @Schema(description = "是否默认", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer isMain;

}
